package com.czjtxy.extraTerm.server;

import com.czjtxy.extraTerm.entity.DO.Temployee;
import com.czjtxy.extraTerm.entity.VO.TemployeeVO;

import java.sql.SQLException;
import java.util.List;

/**
 * @program: staff-house
 * @author: MingYi
 * @create: 2021/07/01 16:05
 */
public interface EmployeeService {
    List<TemployeeVO> getAll() throws SQLException;

    List<TemployeeVO> getPart(Temployee temployee) throws SQLException;

    TemployeeVO getOne(int id) throws SQLException;

    void updateEmployee(Temployee temployee) throws SQLException;

    void deleteEmployee(String ids) throws SQLException;

    void addEmployee(Temployee temployee) throws SQLException;
}